#!/bin/bash

menu(){
	echo "============================"
	echo "1.display disk information"
	echo "2.display interface information"
	echo "3.show memory information"
	echo "4.exit"
	echo "============================"
	read -p "please enter you option:" key
}
chice(){
while :
do
	clear
	menu
	case $key in
	1)
		df -Th
		;;
	2)
		ip addr
		;;
	3)
		free -m
		;;
	4)
		exit
		;;
	*)
		exit
		;;
	esac
	read -n 1 -p "please any key to continue:"
done
}
